package com.geekca.j2.mysingle;

// 期望单一对象,单一实例
public class ATMMachine {

    public static ATMMachine instance = new ATMMachine();

    private  ATMMachine(){
    }

    public void showMoney(){
        System.out.println("吐出10万");
    }

}
